package org.agent.service.premission;

import java.util.List;

import org.agent.pojo.Premission;

public interface PremissionService {
	List<Premission> getPremissionList(Premission premission);
	int addPremission(Premission premission);
	int modifyPremission(Premission premission);
	int deletePremission(Premission premission);

	/**
	 * 添加一个权限----先删除再添加，保证权限的唯一性，避免冗余
	 * @param Premission premission,String checkList
	 * @return
	 * */
	void tx_delAddPremission(Premission premission,String checkList);
	
	
}
